﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ItemData
{
    /// 物品类型
    /// </summary>
    public enum ItemType
    {
        Consumable,  //消耗品
        Equipment, //装备
        Weapon, //武器
        Material, //材料
    }
    /// <summary>
    /// 物品稀有程度
    /// </summary>
    public enum QualityType
    {
        Common, //普通
        Rare, //稀有
        Epic, //史诗
        Legendary, //传奇
    }

    public enum WeaponType
    {
        None, //空
        Sword, //刀
        arrow, //弓箭
    }
}
public class _mWeaponData
{
    public int id;
    public string name;
    public int attackDistance;
    public int damage;
    public string description;
    public string sprite;
    public int capcity;
    public ItemData.WeaponType weaponType;
    public ItemData.QualityType quality;
    public ItemData.ItemType ItemType;
}
